package com.example.bbs.service.impl;

import com.example.bbs.entity.Disease;
import com.example.bbs.entity.DiseaseTag;
import com.example.bbs.mapper.DiseaseTagMapper;
import com.example.bbs.service.DiseaseTagService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author jiaziyun
 * @since 2021-04-30
 */
@Service
public class DiseaseTagServiceImpl extends ServiceImpl<DiseaseTagMapper, DiseaseTag> implements DiseaseTagService {
    @Autowired
    private DiseaseTagMapper diseaseTagMapper;

    @Override
    public List<DiseaseTag> selectAllDisease() {
        return diseaseTagMapper.selectList(null);
    }

}
